package com.hmdp.utils.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @Author xph
 * @Date 2022/7/12 15:09
 * @Description: 线程池配置属性
 */

@ConfigurationProperties(prefix = "shop.thread")
@Data
public class ThreadPoolConfigProperties {
    private Integer corePoolSize;
    private Integer maxPoolSize;
    private Integer keepAliveTime;
    private Integer queueCapacity;
}
